<!--#include("_header.html")-->



<!--@if($oQuestion->isExists() && $module_info->default_style != 'blog')-->
<div class="viewDocument">
    <!--#include("./view_document.html")-->
</div>
<!--@end-->

<form action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="fo_search" class="faqSearchForm">
	<!--@if($vid)-->
	<input type="hidden" name="vid" value="{$vid}" />
	<!--@end-->
	<input type="hidden" name="mid" value="{$mid}" />
	<input type="hidden" name="category" value="{$category}" />


	<fieldset class="help_search">
		<dl class="search">
		<dd>
			<!-- SelectBox -->
			<div style="height:50px" class="fl" id="selectbox">
				<!--@if($module_info->use_category=="Y")-->
					<select class="selectbox-source" name="category">
							<option value="">{$lang->all_categories}</option>
							<!--@foreach($category_list as $val)-->
								<option value="{$val->category_srl}" <!--@if($val->selected||$val->category_srl==$oQuestion->get('category_srl'))-->selected="selected"<!--@endif-->>
									{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} ({$val->question_count})
								</option>
							<!--@endforeach-->
					</select>
				<!--@end-->
			</div>
			<input id="searchkey" type="text"  name="search_keyword" value="{htmlspecialchars($search_keyword)}" class="inputText" accesskey="S" title="{$lang->cmd_search}">
			<span class="button"><button type="submit" onclick="xGetElementById('fo_search').submit();return false;">{$lang->cmd_search}</button></span>
							
		</dd>
		</dl>
		
		<!--@if($module_info->allow_keywords == 'Y')-->
		<dl class="recom_word">
				<!--@if(count($search_keywords)>0)-->
					<!--@foreach($search_keywords as $keyword)-->
						<dd><a href="{getUrl('','mid',$mid,'search_keyword',$keyword)}">{$keyword}</a></dd> 
					<!--@endforeach-->
				<!--@end-->

		</dl>
		<!--@end-->
	</fieldset>
</form>
<br/>
<div class='question list'>
	<!--#include("_style.list.html")-->
</div>

<div class="boardNavigation">
    <div class="pagination a1">
        <a href="{getUrl('page','','question_srl','','division',$division,'last_division',$last_division)}" class="prevEnd">{$lang->first_page}</a> 
        <!--@while($page_no = $page_navigation->getNextPage())-->
            <!--@if($page == $page_no)-->
                <strong>{$page_no}</strong> 
            <!--@else-->
                <a href="{getUrl('page',$page_no,'question_srl','','division',$division,'last_division',$last_division)}">{$page_no}</a>
            <!--@end-->
        <!--@end-->
        <a href="{getUrl('page',$page_navigation->last_page,'question_srl','','division',$division,'last_division',$last_division)}" class="nextEnd">{$lang->last_page}</a>
    </div>

</div>


<br/>
<!--@if($logged_info->member_srl && $logged_info->is_admin == 'Y')-->
<div class="buttonRight">
     <a href="{getUrl('act','dispFaqWrite','question_srl','')}" class="button green strong"><span>{$lang->cmd_write}</span></a>
</div>
<!--@end-->

<!--#include("_footer.html")-->